package com.xy_pro.xymanager;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EntityScan(basePackages = "com.xy_pro.xymanager.entity") // 指定实体类所在包
@EnableJpaRepositories(basePackages = "com.xy_pro.xymanager.repository") // 指定仓库接口所在包
public class XyManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(XyManagerApplication.class, args);
    }

}
